isTrusted

public boolean isTrusted()

Returns true if the event is trusted, and therefore was generated by a user action.